/** WPI CS509 cisco Stratego Message User and Game Context
 */
package edu.wpi.cs509.messages.server;

import edu.wpi.cs509.representation.GameID;
import edu.wpi.cs509.representation.UserName;

/** Message with user and board context. 
 * @author sparadis
 *
 */
public abstract class MsgSvUserAndGameContext extends MsgSvUserContext{

	/**
	 * serializable version number
	 */
	private static final long serialVersionUID = 1L;
	
	protected GameID gId;
	
	/** Constructor
	 */
	public MsgSvUserAndGameContext(UserName username, GameID gId) {
		super(username);
		this.gId = gId;
	}
	
	/**
	 * Return the game-id.
	 * @return GameId for this message
	 */
	public GameID getGameId() {
		return gId;
	}
}
